//
//  LSZThreeSessionsClassTypeManager.m
//  PartyClassCloud
//
//  Created by 梁素珍 on 2018/9/16.
//  Copyright © 2018年 九酷. All rights reserved.
//

#import "LSZThreeSessionsClassTypeManager.h"

@implementation LSZThreeSessionsClassTypeManager
-(id)initWithThreeSessionsClassType:(NSArray *)array
{
    self = [super init];
    if (self) {
        self.arrayData = [[NSMutableArray alloc]init];
        self.arrayName = [[NSMutableArray alloc]init];
        
        NSMutableArray * mutArrayData = [[NSMutableArray alloc]init];
        NSMutableArray * mutArrayName = [[NSMutableArray alloc]init];
        for (NSDictionary * diction in array) {
            LSZThreeSessionsClassTypeMg * mg = [[LSZThreeSessionsClassTypeMg alloc]init];
            NSString * name = NullStringjudgment(NSStr(diction[@"name"]));
            mg.name = name;
            mg.id_id = NullStringjudgment(NSStr(diction[@"id"]));

            [mutArrayName addObject:name];
            [mutArrayData addObject:mg];
        }
        self.arrayData = mutArrayData;
        self.arrayName = mutArrayName;
    }
    return self;
}
@end
@implementation LSZThreeSessionsClassTypeMg
@end
